﻿//客户姓名
function customerNameEdit(id) {
    parent.layer.open({
        type: 2,
        title: '修改客户姓名',
        shadeClose: true,
        shade: 0.4,
        area: ['520px', '200px'],
        content: '/Decoration/DecorationRunnings/CustomerNameEdit?id=' + id,
        end: function () {
            refreshTable();
        }
    });
}

//客户电话
function customerPhoneEdit(id) {
    parent.layer.open({
        type: 2,
        title: '修改客户电话',
        shadeClose: true,
        shade: 0.4,
        area: ['520px', '200px'],
        content: '/Decoration/DecorationRunnings/CustomerPhoneEdit?id=' + id,
        end: function () {
            refreshTable();
        }
    });
}
//面积
function areaList(id) {
    parent.layer.open({
        type: 2,
        title: '修改面积',
        shadeClose: true,
        shade: 0.4,
        area: ['520px', '200px'],
        content: '/Decoration/DecorationRunnings/AreaEdit?id=' + id,
        end: function () {
            refreshTable();
        }
    });
}

//地址
function addressaList(id) {
    parent.layer.open({
        type: 2,
        title: '修改地址',
        shadeClose: true,
        shade: 0.4,
        area: ['520px', '200px'],
        content: '/Decoration/DecorationRunnings/AddressEdit?id=' + id,
        end: function () {
            refreshTable();
        }
    });
}

//备注
function remarkEdit(id) {
    parent.layer.open({
        type: 2,
        title: '修改备注',
        shadeClose: true,
        shade: 0.4,
        area: ['520px', '200px'],
        content: '/Decoration/DecorationRunnings/RemarkEdit?id=' + id,
        end: function () {
            refreshTable();
        }
    });
}